package com.bdd.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * order_item
 * @author 
 */
@ApiModel(value="com.bdd.entity.OrderItem订单项")
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
public class OrderItem implements Serializable {
    private Integer id;

    /**
     * 购买时价格
     */
    @ApiModelProperty(value="购买时价格")
    private Double purchasePrice;

    @ApiModelProperty(value="购买数量")
    private Integer count;

    /**
     * 折扣金额
     */
    @ApiModelProperty(value="折扣金额")
    private Integer discountAmount;

    private Integer clothingId;

    private Integer orderId;

    private Date createTime;

    private Date updateTime;

    private Integer sizeId;

    private String status;

    private static final long serialVersionUID = 1L;
}